import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { AccountSecurityPage } from './account-security.page';

const routes: Routes = [
  {
    path: '',
    component: AccountSecurityPage
  },
  {
    path: 'email-create',
    loadChildren: () => import('./email-create/email-create.module').then( m => m.EmailCreatePageModule)
  },
  {
    path: 'email-verify',
    loadChildren: () => import('./email-verify/email-verify.module').then( m => m.EmailVerifyPageModule)
  },
  {
    path: 'email-amend',
    loadChildren: () => import('./email-amend/email-amend.module').then( m => m.EmailAmendPageModule)
  },
  {
    path: 'login-password',
    loadChildren: () => import('./login-password/login-password.module').then( m => m.LoginPasswordPageModule)
  },
  {
    path: 'mobile-number',
    loadChildren: () => import('./mobile-number/mobile-number.module').then( m => m.MobileNumberPageModule)
  },
  
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class AccountSecurityPageRoutingModule {}
